package com.xxq.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.xxq.common.valid.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 品牌分类关联
 * 
 * @author xxq
 * @email 1607903138@qq.com
 * @date 2022-04-28 20:20:13
 */
@Data
@TableName("pms_category_brand_relation")
@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class CategoryBrandRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	@NotNull(message = "更新时id不能为空", groups = {UpdateGroup.class})
	private Long id;
	/**
	 * 品牌id
	 */
	private Long brandId;
	/**
	 * 分类id
	 */
	private Long catelogId;
	/**
	 * 
	 */
	private String brandName;
	/**
	 * 
	 */
	private String catelogName;

}
